WP_Defender\Controller\Blacklist A

Total Complexity 75
Dependencies 11
Dependents 2
Total lines 645
Lines of code 435
Logical lines of code 171
Comment lines 148
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
bulk_ip_action()
A
44 10 44
download_geodb()
A
41 7 56
format_global_ip_list()
S
57 7 16
import_ips()
S
46 5 46
__construct()
S
54 5 20
adapt_data()
S
57 5 17
save_settings()
S
44 2 57
export_ips()
S
52 4 25
ip_action()
S
52 4 25
data_frontend()
S
48 3 35
update_database()
S
56 4 19
query_locked_ips()
S
58 3 16
import_data()
S
63 3 12
refresh_global_ip_list()
S
57 2 19
get_global_ip_list()
S
67 2 8
enqueue_assets()
S
71 2 6
fetch_global_ip_list()
S
74 2 5
to_array()
S
98 1 1
blacklist_an_ip()
S
80 1 3
remove_settings()
S
98 1 1
remove_data()
S
98 1 1
export_strings()
S
82 1 3